package com.wind.oauth2.server.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wind.oauth2.server.entity.TbUser;
import com.wind.oauth2.server.mapper.TbUserMapper;
import com.wind.oauth2.server.service.TbUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TbUserServiceImpl extends ServiceImpl<TbUserMapper, TbUser> implements TbUserService {

    @Autowired
    private TbUserMapper tbUserMapper;

    @Override
    public TbUser getByUsername(String username) {
        return tbUserMapper.getByUsername(username);
    }
}
